package com.have.blog.admin.service;

import com.have.blog.admin.domain.dto.SubjectItemDto;
import com.have.blog.base.wrapper.CommonPage;
import com.have.blog.base.wrapper.Wrapper;

import java.util.List;

public interface SubjectItemService {
    CommonPage<SubjectItemDto> getPageList(SubjectItemDto subjectItemDto);

    Wrapper addSubjectItemList(List<SubjectItemDto> list);

    Wrapper editSubjectItemList(List<SubjectItemDto> list);

    Wrapper deleteBatchSubjectItem(List<Integer> uids);

    Wrapper sortByCreateTime(String subjectUid, Boolean isDesc);
}
